﻿CREATE TABLE [dbo].[BankYE_copy] (
    [id]        INT             IDENTITY (1, 1) NOT NULL,
    [companyid] INT             NULL,
    [bankid]    INT             NULL,
    [bankname]  NVARCHAR (200)  NULL,
    [drje]      DECIMAL (18, 2) NULL,
    [ye]        DECIMAL (18, 2) NULL,
    [flag]      INT             NULL,
    [date]      DATETIME        DEFAULT (getdate()) NULL,
    PRIMARY KEY CLUSTERED ([id] ASC)
);


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'标志。1：现金。2：银行', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'BankYE_copy', @level2type = N'COLUMN', @level2name = N'flag';

